package com.bigdata.movieticketapi.vo.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class PageMovieSessionRespVO {
    @ApiModelProperty("场次id")
    private Integer id;

    @ApiModelProperty("电影id")
    private String movieName;

    @ApiModelProperty("电影开场时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @ApiModelProperty("电影结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @ApiModelProperty("影厅类型")
    private String cinemaName;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("形式")
    private String format;
}
